package cn.shu.Singleton;

/**
 *
 * 静态内部类的方式创建单例模式
 * Created by 76062 on 2017/9/22.
 */
public class Test{

    public static void main(String[] args) {
        FactoryManager.getEmailInstance().run();
        FactoryManager.getSmsInstance().run();
    }

}
